This page last changed on Apr 29, 2011 by prodrigu.

Contents

org.egee.MrsCheckMissingProbes

Description

The probe is checking if expected rate of metric results is loaded to the MRS (Local Metric Store).

It will raise:

- WARNING when number of received metrics of given flavour per NGI is lower than 50% of total number of services of given flavour per NGI.

- CRITICAL when number of received metrics of given flavour per NGI is lower than 20%.

Note that probe will be failing when new services will be configured in your Nagios (e.g. new Nagios installation, new metrics, ...) till the time the metric results for new services are loaded into MRS.

Troubleshooting

Missing results from Worker Nodes (org.sam.WN.*).

  * Check the Nagios test 'org.egee.RecvFromQueue'. If no results are received:
    * check if WN results are sent to the same broker as msg-to-handler is consuming from
    * restart msg-to-handler
    * check your WMSes

Missing all of the metric results

* check the Nagios test 'org.egee.SendToMetricStore'
* check if Nagios is submitting tests
* is it new Nagios installation? If yes, just wait some time.

Tuning of the probe

One can tune the probe (increase or lower thresholds) by modification of file /etc/nagios/plugins/check_missing_probes.cfg, e.g.:

<ngi NGI_NL>
  <flavour .*>
    <metric .*>
      warning 40
      critical 10
    </metric>
  </flavour>
</ngi NGI_NL>

The values next to tags may be any valid Perl regex.
If a metric has multiple matches within a config file - tha last valid match is used!

For example, if you put this:

<ngi .*>
  <flavour .*>
    <metric .*>
      warning 20
      critical 10
    </metric>
  </flavour>
</ngi>

at the end of the file it will override any config above it because it matches everything.

Switching off the probe

You may switch off the probe by:

1. Disabling it in ncg.localdb

2. Adding following paragraph at the end of /etc/nagios/plugins/check_missing_probes.cfg:

<ngi .*>
  <flavour .*>
    <metric .*>
      warning 0
      critical 0
    </metric>
  </flavour>
</ngi>

Document generated by Confluence on Feb 27, 2014 10:19